package com.zenith.article.po.dto;

import com.zenith.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(name = "文章专题DTO", description = "文章专题DTO")
public class ArtTopicDTO extends BaseDTO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "专题标题")
    private String title;
    
    @Schema(description = "副标题")
    private String subtitle;
    
    @Schema(description = "封面URL")
    private String coverUrl;
    
    @Schema(description = "专题描述")
    private String description;
    
    @Schema(description = "排序权重")
    private Integer sortOrder;
    
    @Schema(description = "状态：1-启用 0-停用")
    private Integer status;
    
    @Schema(description = "专题开始时间")
    private Date startTime;
    
    @Schema(description = "专题结束时间")
    private Date endTime;
    
    @Schema(description = "扩展信息（JSON）")
    private String extJson;
    
    @Schema(description = "创建时间")
    private Date createTime;
    
    @Schema(description = "更新时间")
    private Date updateTime;
    
    @Schema(description = "创建人ID")
    private Long createBy;
    
    @Schema(description = "更新人ID")
    private Long updateBy;
    
    @Schema(description = "版本号")
    private Integer version;
    
    @Schema(description = "是否删除（0-未删除，1-已删除）")
    private Integer isDeleted;
}